import request from '@/utils/request'

// 查询职业评价依据列表
export function listBaseevaluation(query) {
  return request({
    url: '/basic/baseevaluation/list',
    method: 'get',
    params: query
  })
}

// 查询职业评价依据详细
export function getBaseevaluation(id) {
  return request({
    url: '/basic/baseevaluation/' + id,
    method: 'get'
  })
}

// 新增职业评价依据
export function addBaseevaluation(data) {
  return request({
    url: '/basic/baseevaluation',
    method: 'post',
    data: data
  })
}

// 修改职业评价依据
export function updateBaseevaluation(data) {
  return request({
    url: '/basic/baseevaluation',
    method: 'put',
    data: data
  })
}

// 删除职业评价依据
export function delBaseevaluation(id) {
  return request({
    url: '/basic/baseevaluation/' + id,
    method: 'delete'
  })
}
